package com.sikao.app.ui;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.sikao.app.R;
import com.sikao.app.ui.base.BaseActivity;
/**
 * 物流模块，后期可能会添加
 */
public class LogisticsActivity extends BaseActivity implements View.OnClickListener{

	private TextView titleTv;
	private ImageView backIv;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		setContentView(R.layout.activity_logistics);
		super.onCreate(savedInstanceState);
	}

	@Override
	protected void initData() {

	}

	@Override
	protected void initView() {
		titleTv = (TextView) findViewById(R.id.title_middle_tv);
		backIv = (ImageView) findViewById(R.id.title_left_img);
	}

	@Override
	protected void initListener() {
		backIv.setOnClickListener(this);
	}

	@Override
	protected void init() {
		titleTv.setText("物流");
		backIv.setVisibility(View.VISIBLE);
	}

	@Override
	public void onClick(View v) {
		switch (v.getId()){
			case R.id.title_left_img :
				finish();
				break;
			default:
				break;
		}
	}
}
